Two-way wall switches respond to On, Off, Dim, Bright, All Lights On, All Lights Off and All Units Off commands. In addition, a two-way wall switch can respond to a request for its status, reporting whether it is on or off.
When the switch controls an outlet, be sure to not use it for anything other than lamps. It may damage electronic equipment and could potentially start a fire.